Skip to main content

How to Act During Interviews

Foremost, During each step explain what you’re doing, every step.

  1. Make Sure You Understand the Question.
    • Explain the question back to the interviewer
      • …this will help you understand the question better
  2. Create Test Cases Input and Output Tests.
    • Write all possible inputs and proper outputs, you can ask the interviewer
      • None, valid, invalid …etc.
    • Write the test cases in the main function as TDD
  3. List All the Possible ways/algorithms You Think Will Solve the Problem
  4. Draw/Visualize Your solution(approach)
  5. Code with Pseudo-code Before Going to Actual Solution
    • Skip if time is ticking…(you don't want to over explain things)
  6. Write the Actual Code
  7. Finally, Run the Test Cases